<%@ Control Language="c#" AutoEventWireup="True" Codebehind="UsersOptionsControl.ascx.cs" Inherits="Votations.NSurvey.WebAdmin.UserControls.UsersOptionsControl" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>



<table class=uiTable width=600 border=0><asp:label id=MessageLabel runat="server" ForeColor="Green" Visible="False"></asp:label></table>
<TABLE class=smallText width=600>
  <TR>
    <TD colSpan=2><FONT class=Titlefont 
      ><asp:label id=UserOptionTitleLabel runat="server">Label</asp:label></FONT><BR 
      ><IMG src="/admin/Survey/images/Linebreak.Gif" > </TD></TR>
  <TR>
    <TD>&nbsp;&nbsp; </TD>
    <TD>
      <TABLE class=smallText>
        <TBODY>
       <asp:PlaceHolder ID="NSurveyUserPlaceHolder" Runat="server">
		 <tr>
          <td width=160><STRONG 
            ><asp:literal id=UserNameLabel 
             runat="server" EnableViewState="False" 
            Text="User name:"></asp:literal></STRONG></td>
          <td width=440><asp:textbox id=UserNameTextBox runat="server"></asp:textbox></td></tr></TR>
        <TR>
          <TD width=160><STRONG 
            ><asp:literal id=UserPasswordLabel 
             runat="server" EnableViewState="False" 
            Text="Password :"></asp:literal></STRONG></TD>
          <TD><asp:textbox id=PasswordTextBox runat="server" TextMode="Password" Width="154px"></asp:textbox></TD></TR>
        <TR>
          <TD style="HEIGHT: 21px" width=160><STRONG 
            ><asp:literal id=UserFirstNameLabel 
             runat="server" EnableViewState="False" 
            Text="First name :"></asp:literal></STRONG></TD>
          <TD><asp:textbox id=FirstNameTextBox runat="server"></asp:textbox></TD></TR>
        <TR>
          <TD width=160><STRONG 
            ><asp:literal id=UserLastNameLabel 
             runat="server" EnableViewState="False" 
            Text="Last name :"></asp:literal></STRONG></TD>
          <TD><asp:textbox id=LastNameTextBox runat="server"></asp:textbox></TD></TR>
        <TR>
          <TD width=160><STRONG 
            ><asp:literal id=UserEmailLabel 
             runat="server" EnableViewState="False" 
            Text="Email :"></asp:literal></STRONG></TD>
          <TD><asp:textbox id=EmailTextBox runat="server"></asp:textbox></TD></TR></asp:PlaceHolder>
        <TR>
          <TD width=160><STRONG 
            ><asp:literal id=UserIsAdministratorLabel 
             runat="server" EnableViewState="False" 
            Text="Administrator :"></asp:literal></STRONG></TD>
          <TD><asp:checkbox id=IsAdminCheckBox runat="server"></asp:checkbox></TD></TR>
        <TR>
          <TD width=160><STRONG 
            ><asp:literal id=AssignAllSurveysLabel 
             runat="server" EnableViewState="False" 
            Text="Assign all survey :"></asp:literal></STRONG></TD>
          <TD><asp:checkbox id=HasSurveyAccessCheckBox runat="server" AutoPostBack="True" oncheckedchanged="HasSurveyAccessCheckBox_CheckedChanged"></asp:checkbox></TD></TR><asp:placeholder 
        id=ExtendedSettingsPlaceHolder Runat="server">
        <TR>
          <TD vAlign=top noWrap width=160><STRONG><asp:literal id=UserSurveyAssignedLabel runat="server" Text="Assigned surveys :" EnableViewState="False"></asp:literal></STRONG></TD>
          <TD>
            <TABLE class=smallText>
              <TR>
                <TD><asp:literal id=UnAssignedSurveysLabel runat="server" Text="Available surveys" EnableViewState="False"></asp:literal></TD>
                <TD></TD>
                <TD><asp:literal id=AssignedSurveysLabel runat="server" Text="Assigned to user" EnableViewState="False"></asp:literal></TD></TR>
              <TR>
                <TD><asp:listbox id=SurveysListBox runat="server" AutoPostBack="True" Height="120px" onselectedindexchanged="SurveysListBox_SelectedIndexChanged"></asp:listbox></TD>
                <TD>&nbsp;<STRONG>&gt;&gt;<BR>&lt;&lt;</STRONG>&nbsp;</TD>
                <TD vAlign=top><asp:listbox id=UserSurveysListBox runat="server" AutoPostBack="True" Height="120px" onselectedindexchanged="UserSurveysListBox_SelectedIndexChanged"></asp:listbox></TD></TR></TABLE></TD></TR>
        <TR>
          <TD vAlign=top width=160><STRONG><asp:literal id=RolesLabel runat="server" Text="Roles :" EnableViewState="False"></asp:literal></STRONG></TD>
          <TD>
            <TABLE class=smallText>
              <TR>
                <TD><asp:literal id=AvailableRolesLabel runat="server" Text="Available roles" EnableViewState="False"></asp:literal></TD>
                <TD style="WIDTH: 23px"></TD>
                <TD><asp:literal id=UserRolesLabel runat="server" Text="User's roles" EnableViewState="False"></asp:literal></TD></TR>
              <TR>
                <TD><asp:listbox id=RolesListBox runat="server" AutoPostBack="True" Height="120px" onselectedindexchanged="RolesListBox_SelectedIndexChanged"></asp:listbox></TD>
                <TD 
                  style="WIDTH: 23px">&nbsp;<STRONG>&gt;&gt;<BR>&lt;&lt;</STRONG>&nbsp;</TD>
                <TD vAlign=top><asp:listbox id=UserRolesListBox runat="server" AutoPostBack="True" Height="120px" onselectedindexchanged="UserRolesListBox_SelectedIndexChanged"></asp:listbox></TD></TR></TABLE></TD></TR></asp:placeholder></TABLE></TD></TR></TBODY></TABLE><asp:button id=CreateNewUserButton runat="server" Text="Create user" onclick="CreateUserButton_Click"></asp:button><asp:button id=ApplyChangesButton runat="server" Text="Apply changes" onclick="ApplyChangesButton_Click"></asp:button><asp:button id=DeleteUserButton runat="server" Text="Delete user" Visible="False" onclick="DeleteUserButton_Click"></asp:button>
